from project.apps.home import home_blueprint
from flask import session
from flask_restful import Resource, Api

index_api = Api(home_blueprint)

class IndexResource(Resource):

    def get(self):
        return {'msg': 'Index'}


index_api.add_resource(IndexResource, '/')



# @home_blueprint.route('/')
# def index():
#
#     session['user_id'] = '123'
#
#     return 'index'
